package org.example.service;

import org.example.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 包名：org.example.service.impl
 * 用户：admin
 * 日期：2025-09-12
 * 项目名称：pro-demo
 */

public interface DeptService {

    List<Dept> list();

    void delete(Integer id);

    void save(Dept dept);

    void update(Dept dept);
}
